package com.donger.common.core.constant;

/**
 * 公共常量
 *
 * @author xyx
 */
public interface CommonConstants {


    String UTF8 = "UTF-8";


    Long SUPER_ADMIN = 1L;


    /**
     * 响应成功码
     */
    int SUCCESS_CODE = 0;

    /**
     * 响应失败码
     */
    int FAIL_CODE = 1;



    /**
     * redis images 验证码 key
     */
    String DEFAULT_CAPTCHA_KEY = "CAPTCHA:DEFAULT_CAPTCHA_KEY_";

    /**
     *  redis phone 验证码 key
     */
    String DEFAULT_PHONE_KEY = "CAPTCHA:DEFAULT_PHONE_KEY_";

    /**
     * JSON 资源
     */
    String CONTENT_TYPE = "application/json; charset=utf-8";



    String DICT_TEXT_SUFFIX = "_dictText";

    String STATUS_NORMAL = "1";
}
